package cn.stylefeng.guns.modular.examination.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 考试结果
 * </p>
 *
 * @author CHENCHEN
 * @since 2022-07-19
 */
@TableName("examination_results")
public class ExaminationResults implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 考试ID
     */
    @TableField("examination_id")
    private Long examinationId;

    /**
     * 学生ID
     */
    @TableField("student_id")
    private Long studentId;

    /**
     * 班级ID
     */
    @TableField("team_id")
    private Long teamId;

    /**
     * 分数
     */
    @TableField("srcore")
    private Double srcore;

    /**
     * 错题(key题号:value错误答案)[]
     */
    @TableField("wrong_question_content")
    private String wrongQuestionContent;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getExaminationId() {
        return examinationId;
    }

    public void setExaminationId(Long examinationId) {
        this.examinationId = examinationId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Double getSrcore() {
        return srcore;
    }

    public void setSrcore(Double srcore) {
        this.srcore = srcore;
    }

    public String getWrongQuestionContent() {
        return wrongQuestionContent;
    }

    public void setWrongQuestionContent(String wrongQuestionContent) {
        this.wrongQuestionContent = wrongQuestionContent;
    }

    @Override
    public String toString() {
        return "ExaminationResults{" +
        "id=" + id +
        ", examinationId=" + examinationId +
        ", studentId=" + studentId +
        ", teamId=" + teamId +
        ", srcore=" + srcore +
        ", wrongQuestionContent=" + wrongQuestionContent +
        "}";
    }
}
